@import '../../../asset/styles/util.less';

.header {
  box-sizing: border-box;
  width: 100%;
  height: 36px;
  line-height: 35px;
  border-bottom: 1px solid #cdcdcd;
  background-color: #f6f6f6;
  .getApp {
    cursor: pointer;
    display: inline;
    .mobileIcon {
      display: inline-block;
      width: 12px;
      height: 16px;
      margin-right: 6px;
      line-height: 16px;
      text-align: center;
      color: #ff8000;
      &:before {
        display: inline-block;
        width: 12px;
        height: 16px;
      }
    }
  }
  .location,
  .login,
  .logout,
  .buyer_center,
  .seller_center,
  .favorite,
  .notice_center,
  .rules_center,
  .help_center,
  .about_horde {
    cursor: pointer;
    margin-left: 20px;
  }
  .favorite {
    display: inline;
    .starIcon {
      margin-right: 6px;
      font-size: 12px;
      color: #999;
    }
  }
  .login,
  .logout {
    font-weight: normal;
    font-stretch: normal;
    letter-spacing: 0;
    color: #ff5f00;
    text-decoration: none;
  }
  .home,
  .notice_center,
  .rules_center,
  .help_center,
  .about_horde {
    color: #666;
    text-decoration: none;
    &:hover {
      color: #ff5f00;
    }
  }
  .container {
    font-size: 12px;
    ul {
      margin-bottom: 0;
    }
    ul > li {
      float: left;
    }
  }
  .center_box {
    float: left;
    > li {
      width: 86px;
      text-align: center;
      float: left;
      position: relative;
    }
    > li:hover {
      box-sizing: border-box;
      color: #ff5f00;
      background: #fff;
      border-bottom: none;
      cursor: pointer;
      border-left: 1px solid #ccc;
      border-right: 1px solid #ccc;
    }
    .buyer_center_box {
      color: #333;
      box-sizing: border-box;
      border: 1px solid #ccc;
      background: #fff;
      position: absolute;
      z-index: 1000;
      display: none;
      border-top: none;
      width: 86px;
      height: 90px;
      top: 35px;
      right: -1px;
      text-align: center;
      padding-top: 10px;
      dl > dd {
        line-height: 20px;
      }
    }
    .buyer_center:hover .buyer_center_box {
      display: block;
      dd {
        a {
          color: #333;
          &:hover {
            color: #ff5f00;
          }
        }
      }
    }
    .seller_center:hover .buyer_center_box {
      display: block;
      dd {
        a {
          color: #333;
          &:hover {
            color: #ff5f00;
          }
        }
      }
    }
    .favorite:hover .buyer_center_box {
      display: block;
      dd {
        a {
          color: #333;
          &:hover {
            color: #ff5f00;
          }
        }
      }
    }
    .favorite:hover .iconfont {
      color: #ff5f00;
    }
  }
}
